package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wl.dzt.basic.entity.BasicRole;
import com.wl.dzt.basic.entity.BasicUser;

import java.io.Serializable;

@ApiModel("BasicRoleUser")
@Table("basic_role_user")
public class BasicRoleUser implements Serializable {

    @ApiModelProperty(value = "角色编号", name = "roleId")
    @Column(value = "role_id", text = "角色编号", maxLength = 32)
    private BasicRole roleId;


    @ApiModelProperty(value = "用户编号", name = "userId")
    @Column(value = "user_id", text = "用户编号", maxLength = 32)
    private BasicUser userId;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;

    public BasicRole getRoleId() {
        return roleId;
    }

    public void setRoleId(BasicRole roleId) {
        this.roleId = roleId;
    }

    public BasicUser getUserId() {
        return userId;
    }

    public void setUserId(BasicUser userId) {
        this.userId = userId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
